﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using XBLib.BusinessObject;
using KenLib.Dal;
using DataInfo;

namespace KenLib.BusinessManager
{
    public class frm_TraineeListManager
    {
        frm_TraineeListDao m_frmTraineeListDao = new frm_TraineeListDao();

        public DataTable GetAllGroup(string idType)
        {
            return m_frmTraineeListDao.GetAllGroup(idType);
        }
        public DataTable GetCommanyByGroup(string idGroup)
        {
            return m_frmTraineeListDao.GetCommanyByGroup(idGroup);
        }
        public DataTable GetSubComByComany(string idGroup, string idCom)
        {
            return m_frmTraineeListDao.GetSubComByComany(idGroup, idCom);
        }
        public DataTable Search(string idType,string idGroup, string idCom, string idSubCom, string Search)
        {
            return m_frmTraineeListDao.Search(idType, idGroup, idCom, idSubCom, Search);
        }
    }
}
